package com.bd.scm.domain.dto.leave;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.metadata.BaseRowModel;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 请假导入数据类.
 *
 * @author Mason
 * @version 1.0
 * @since 2020/6/11 9:23
 */
@Data
public class ImportLeaveDataDto extends BaseRowModel {
    @ExcelProperty(value="部门",index=0)
    private String deptName;
    @ExcelProperty(value="科室",index=1)
    private String officesName;
    @ExcelProperty(value="所属（下拉选择）",index=2)
    private String byCompany;
    @ExcelProperty(value="工号",index=3)
    private String userNo;
    @ExcelProperty(value="姓名",index=4)
    private String userName;
    @ExcelProperty(value="假类（下拉选择）",index=5)
    private String leaveName;
    @ExcelProperty(value="开始日期（年月日）",index=6)
    private String beginDate;
    @ExcelProperty(value="结束日期（年月日）",index=7)
    private String endDate;
    @ExcelProperty(value="开始时间（00:00）",index=8)
    private String beginTime;
    @ExcelProperty(value="结束时间（00:00）",index=9)
    private String endTime;
    @ExcelProperty(value="请假时长（小时）",index=10)
    private BigDecimal leaveHours;
    @ExcelProperty(value="备注",index=11)
    private String remark;
}
